ses-ux
GET-TMF639 fetch msisdn
/useridentites/msisdn
[GET]
This operation retrieves msisdn based up on imsi
URL
http://{host:port}/{context}/esintegration/v1.0/esim/useridentities/msisdnLCR URL
URL Param
| name | type | description | required |
|---|---|---|---|
| context | string | CR - Context carries the identifier for the specfic market if it is Costa Rica | Y |
Header
| name | type | description | required |
|---|---|---|---|
| Authorization | string | Need to provide the basic Authorization with username and password | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | Y |
Query Param
| name | type | description | required |
|---|---|---|---|
| imsi | string | International Mobile Subscriber Identity - 15-digit numeric identifier | Y |
cURL Request
Query with imsi
curl --location 'https://nonprod.esb.cloud.lla.com/dev/ses-ux/post/esintegration/v1.0/esim/useridentities/msisdn?imsi=712040035725293' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic xxxxxx....' \
--header 'X-Correlation-ID: {{$guid}}'Query with email addresResponse
{
"msisdn":"50661430059"
}Possible response error - CR
In this section all the possible data structures received by the client are defined and that must be considered as unsatisfactory when responding to the method.
[ 400 ]
Bad Request - the request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
{
"error": "Invalid IMSI format",
"error_description": "The request is invalid, <Specific invalid parameter>."
}[ 404 ]
Not Found - The server could not find a resource with that URI. This condition may be temporary or permanent. This status code is commonly used when the server does not wish to reveal exactly why the request was refused, or when no other response is applicable.
{
"error": "MSISDN not exist",
"error_description": "MSISDN does not exist , <Specific Message>"
}[ 500 ]
Internal Server Error - server encountered an error processing request. This should not happen normally, but it is a generic error message, given when no more specific message is suitable.
{
"error": "Internal Server Error",
"error_description": "Error when retriving the msisdn <Specific error description>."
}